import django
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "me.settings")
django.setup()
from user.models import User
try:
    admin = User.objects.get(username='admin')
except:
    User.objects.create_superuser('admin', 'tom@example.com', '123456')
